package com.zg.indiv.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zg.common.core.dao.indiv.entity.IndivSpace;
import com.zg.common.core.dao.indiv.entity.IndivSpaceUser;
import com.zg.indiv.domain.req.space.*;
import com.zg.indiv.domain.vo.IndivSpaceCountFileVo;
import com.zg.indiv.domain.vo.IndivSpaceCountRecordVo;

import java.util.List;

/**
* @author lixin
*/
public interface IndivSpaceService {

    void add(IndivSpaceAddReq param);

    void edit(IndivSpaceEditReq param);

    void addUser(IndivSpaceAddUserReq param);

    List<IndivSpaceUser> listUser(IndivSpaceListUserReq param);

    void removeUser(List<Long> idList);

    IPage<IndivSpace> page(IndivSpacePageReq param);

    void editCapacity(IndivSpaceEditCapacityReq param);

    List<IndivSpace> listByUser(IndivSpaceFindByUserReq param);

    IndivSpaceCountFileVo getCountFile(IndivSpaceCountFileReq param);

    IndivSpaceCountRecordVo getCountRecord(IndivSpaceCountRecordReq param);

    void remove(List<Long> idList);
}
